package cn.fengzhilun.javase.day07;

public class Manager extends Employee {
	
	
	private double bonus;
	

	public double getBonus() {
		return bonus;
	}

	
	public void setBonus(double bonus) {
		this.bonus = bonus;
	}

	public void manage() {
		System.out.println("我正管理员工干活");
		
		
	}
	public double getSalary() {
		System.out.println("经理获取薪水方法");
		return super.getSalary()+bonus;
	}
	
}
